<template>
	<view class="flex-row container" style="background-color: white;">
		<view class="flex-row container-left">
			<image class="image" :src="imageSrc" mode="aspectFit"></image>
			
			<view class="flex-column">
				<text class="title1">{{title1}}</text>
				<text class="title2">{{title2}}</text>
				<text class="title2">{{title3}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			imageSrc: {
				type: String,
				default: ""
			},
			title1: {
				type: String,
				default: ""
			},
			title2: {
				type: String,
				default: ""
			},
			title3: {
				type: String,
				default: ""
			},
			isContrastPage: {
				type: Boolean,
				default: false
			},
			isSelect: {
				type: Boolean,
				default: false
			}
		},
		methods: {
			onClickAddContrast() {
				this.$emit("onClickAddContrast")
			}
		}
	}
</script>

<style>
	button::after {
		border: none;
	}
	
	.container {
		align-items: center;
		padding: 24rpx 32rpx 20rpx 32rpx;
	}
	
	.container-left {
		min-width: 75vw;
		align-items: center;
	}
	
	.image {
		width: 96rpx;
		height: 96rpx;
		background-color: #F8F8F8;
		margin-right: 28rpx;
	}
	
	.title1 {
		color: #464646;
		font-size: 28rpx;
		font-weight: 900;
	}
	
	.title2 {
		color: #999;
		font-size: 24rpx;
		font-weight: bold;
		margin: 4rpx 0 4rpx 0;
	}
	
	.container-right {
		display: flex;
		justify-content: center;
		width: 20vw;
	}
	.text-add {
		height: 48rpx;
		width: 120rpx;
		color: #FF3B0A;
		background-color: #FFF;
		border: 2rpx solid #FF3B0A;
		border-radius: 24rpx;
		font-size: 22rpx;
		text-align: center;
		margin-right: 30rpx;
		line-height: 48rpx;
	}
	
	.college-radio {
		color: #FF5028;
	}
</style>